<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../css/layout.css" rel="stylesheet" type="text/css" />
<smart>include file ='../head.config.html'</smart>
<script type="text/javascript" src="../classes/resource/FCKeditor/fckeditor.js"></script>
</head><body>
<div id="container760"><smart>include file ='../header.html'</smart> <smart>include file ='../PathLinksLevel.html'</smart> <smart>include file ='own_menu.html'</smart>
  <div class="member_right">
  	<div>
		<table border="1" cellpadding="0" cellspacing="0" bordercolor="#E7E7E7" bgcolor="#CCCCCC">
			<tr>
				<td bgcolor="#F2F2F2">个人信息</td>
			</tr>
			<tr>
				<td bgcolor="#F2F2F2">卖家好评率：<smart> $sale_percent </smart>%</td>
			</tr>
			<tr>
				<td bgcolor="#F2F2F2">买家好评率：<smart> $buy_percent </smart>%</td>
			</tr>
	  </table>
	</div>
    <div>
		<div>
			<table border="1" cellpadding="0" cellspacing="0" bordercolor="#E7E7E7" bgcolor="#CCCCCC" summary="作为卖家收到的评价">
				<caption>
					<span> <a href="">卖家信用度</a></span><em>（<smart> $member_array.sale_score </smart>）</em>				
				</caption>
				<tr>
				  <th width="20%" align="center" valign="middle" bgcolor="#F2F2F2">&nbsp;</th>
				  <th width="16%" align="center" valign="middle" bgcolor="#F2F2F2" class="LastWeek">最近1周</th>
				  <th width="16%" align="center" valign="middle" bgcolor="#F2F2F2" class="LastMonths">最近1个月</th>
				  <th width="16%" align="center" valign="middle" bgcolor="#F2F2F2" class="Last6Months">最近6个月</th>
				  <th align="center" valign="middle" bgcolor="#F2F2F2" class="Last6Months">6个月前</th>
				  <th width="16%" align="center" valign="middle" bgcolor="#F2F2F2" class="Totalled">总计</th>
				</tr>
				<tr>
				  <th align="center" valign="middle" bgcolor="#F2F2F2"><span class="Good">好评</span></th>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=week&score=1&genre=s"><smart> $sale_count.good.week|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=month&score=1&genre=s"><smart> $sale_count.good.month|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=halfyear&score=1&genre=s"><smart> $sale_count.good.halfyear|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=year&score=1&genre=s"><smart> $sale_count.good.year|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $sale_count.good.halfyear+$sale_count.good.year|default:'0' </smart></td>
				</tr>
				<tr>
				  <th align="center" valign="middle" bgcolor="#F2F2F2"><span class="NotBad">中评</span></th>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=week&score=0&genre=s"><smart> $sale_count.normal.week|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=month&score=0&genre=s"><smart> $sale_count.normal.month|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=halfyear&score=0&genre=s"><smart> $sale_count.normal.halfyear|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=year&score=0&genre=s"><smart> $sale_count.normal.year|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $sale_count.normal.halfyear+$sale_count.normal.year|default:'0' </smart></td>
				</tr>
				<tr>
				  <th align="center" valign="middle" bgcolor="#F2F2F2"><span class="Bad">差评</span></th>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=week&score=-1&genre=s"><smart> $sale_count.bad.week|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=month&score=-1&genre=s"><smart> $sale_count.bad.month|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=halfyear&score=-1&genre=s"><smart> $sale_count.bad.halfyear|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=year&score=-1&genre=s"><smart> $sale_count.bad.year|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $sale_count.bad.halfyear+$sale_count.bad.year|default:'0' </smart></td>
				</tr>
				<tr>
				  <th align="center" valign="middle" bgcolor="#F2F2F2">总计</th>
					<td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=week&genre=s"><smart> $sale_count.good.week+$sale_count.normal.week+$sale_count.bad.week|default:'0' </smart></a></td>
					<td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=month&genre=s"><smart> $sale_count.good.month+$sale_count.normal.month+$sale_count.bad.month|default:'0' </smart></a></td>
					<td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=halfyear&genre=s"><smart> $sale_count.good.halfyear+$sale_count.normal.halfyear+$sale_count.bad.halfyear|default:'0' </smart></a></td>
					<td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=year&genre=s"><smart> $sale_count.good.year+$sale_count.normal.year+$sale_count.bad.year|default:'0' </smart></a></td>
					<td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $sale_count.good.halfyear+$sale_count.good.year+$sale_count.normal.halfyear+$sale_count.normal.year+$sale_count.bad.halfyear+$sale_count.bad.year|default:'0' </smart></td>
				</tr>
		  </table>

			<table border="1" cellpadding="0" cellspacing="0" bordercolor="#E7E7E7" bgcolor="#CCCCCC" summary="作为买家收到的评价">
				<caption>
					<span> <a href="">买家信用度</a></span><em>（<smart> $member_array.buy_score </smart>）</em>			
				</caption>
				<tr>
				  <th width="20%" align="center" valign="middle" bgcolor="#F2F2F2">&nbsp;</th>
				  <th width="16%" align="center" valign="middle" bgcolor="#F2F2F2" class="LastWeek">最近1周</th>
				  <th width="16%" align="center" valign="middle" bgcolor="#F2F2F2" class="LastMonths">最近1个月</th>
				  <th width="16%" align="center" valign="middle" bgcolor="#F2F2F2" class="Last6Months">最近6个月</th>
				  <th width="16%" align="center" valign="middle" bgcolor="#F2F2F2" class="Last6Months">6个月前</th>
				  <th width="16%" align="center" valign="middle" bgcolor="#F2F2F2" class="Totalled">总计</th>
				</tr>
				<tr>
				  <th align="center" valign="middle" bgcolor="#F2F2F2"><span class="Good">好评</span></th>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=week&score=1&genre=b"><smart> $buy_count.good.week|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=month&score=1&genre=b"><smart> $buy_count.good.month|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=halfyear&score=1&genre=b"><smart> $buy_count.good.halfyear|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=year&score=1&genre=b"><smart> $buy_count.good.year|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $buy_count.good.halfyear+$buy_count.good.year|default:'0' </smart></td>
				</tr>
				<tr>
				  <th align="center" valign="middle" bgcolor="#F2F2F2"><span class="NotBad">中评</span></th>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=week&score=0&genre=b"><smart> $buy_count.normal.week|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=month&score=0&genre=b"><smart> $buy_count.normal.month|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=halfyear&score=0&genre=b"><smart> $buy_count.normal.halfyear|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=year&score=0&genre=b"><smart> $buy_count.normal.year|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $buy_count.normal.halfyear+$buy_count.normal.year|default:'0' </smart></td>
				</tr>
				<tr>
				  <th align="center" valign="middle" bgcolor="#F2F2F2"><span class="Bad">差评</span></th>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=week&score=-1&genre=b"><smart> $buy_count.bad.week|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=month&score=-1&genre=b"><smart> $buy_count.bad.month|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=halfyear&score=-1&genre=b"><smart> $buy_count.bad.halfyear|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=year&score=-1&genre=b"><smart> $buy_count.bad.year|default:'0' </smart></a></td>
				  <td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $buy_count.bad.halfyear+$buy_count.bad.year|default:'0' </smart></td>
				</tr>
				<tr>
				  <th align="center" valign="middle" bgcolor="#F2F2F2">总计</th>
					<td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=week&genre=b"><smart> $buy_count.good.week+$buy_count.normal.week+$buy_count.bad.week|default:'0' </smart></a></td>
					<td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=month&genre=b"><smart> $buy_count.good.month+$buy_count.normal.month+$buy_count.bad.month|default:'0' </smart></a></td>
					<td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=halfyear&genre=b"><smart> $buy_count.good.halfyear+$buy_count.normal.halfyear+$buy_count.bad.halfyear|default:'0' </smart></a></td>
					<td align="center" valign="middle" bgcolor="#FFFFFF"><a href="own_score.php?time=year&genre=b"><smart> $buy_count.good.year+$buy_count.normal.year+$buy_count.bad.year|default:'0' </smart></a></td>
					<td align="center" valign="middle" bgcolor="#FFFFFF"><smart> $buy_count.good.halfyear+$buy_count.good.year+$buy_count.normal.halfyear+$buy_count.normal.year+$buy_count.bad.halfyear+$buy_count.bad.year|default:'0' </smart></td>
				</tr>
		  </table>
		</div>
	</div>
	<div style="width:100%">
		<UL class="item_list_title">
		<smart> if $time neq '' && $genre neq '' </smart>
		  <LI><A href="">最近xx来自xx的评价</A></LI>
		<smart> /if </smart>  
		  <LI><A href="own_score.php">收到的所有评价</A></LI>
		  <LI><A href="own_score.php?genre=b">来自买家的评价</A></LI>
		  <LI><A href="own_score.php?genre=s">来自卖家的评价</A></LI>
		  <LI><A href="own_score.php?genre=all">给他人的评价</A></LI>
      	</UL>
	</div>
	<div>
		<table width="100%">
			<tr>
				<th><a href="own_score.php?time=<smart> $time </smart>&genre=<smart> $genre </smart>">所有评价</a></th>
				<th><a href="own_score.php?time=<smart> $time </smart>&genre=<smart> $genre </smart>&score=1">所有好评</a></th>
				<th><a href="own_score.php?time=<smart> $time </smart>&genre=<smart> $genre </smart>&score=0">所有中评</a></th>
				<th><a href="own_score.php?time=<smart> $time </smart>&genre=<smart> $genre </smart>&score=-1">所有差评</a></th>
			</tr>
		</table>
	</div>
	<div>
		<table width="100%">
			<tr>
				<th></th>
				<th>评价内容</th>
				<th>宝贝名称/评价人</th>
				<th></th>
			</tr>
			<smart> section name=loop loop=$score_array </smart>
			<tr>
				<td>
					<smart> if $score_array[loop].score eq '1' </smart>好评<smart> /if </smart>
					<smart> if $score_array[loop].score eq '0' </smart>中评<smart> /if </smart>
					<smart> if $score_array[loop].score eq '-1' </smart>差评<smart> /if </smart>
				</td>
				<td>[详情]<smart> $score_array[loop].content </smart>&nbsp;&nbsp;&nbsp;<smart> $score_array[loop].pubtime|date_format:"%Y-%m-%d %H:%M" </smart></td>
				<td><a href="<smart> $site_url </smart>/home/product.php?action=view&pid=<smart> $score_array[loop].p_code </smart>" target="_blank"><smart> $score_array[loop].p_name </smart></a><br/>
					<smart> $score_array[loop].membersay </smart>：<a href="<smart> $site_url </smart>/store/index.php?userid=<smart> $score_array[loop].memberid </smart>" target="_blank"><smart> $score_array[loop].member </smart></a>
				</td>
				<td><smart> $score_array[loop].unit_price </smart>元</td>
			</tr>	
			<smart> /section </smart>
			<tr>
				<td colspan="3" align="right"><smart> $pagelist </smart>
				</td>
			</tr>
		</table>
	</div>
</div>  
<smart>include file ='../footer.html'</smart>
</div>
</body>
</html>
